package com.yc.bran.snack.service;

import java.util.List;
import java.util.Map;

import com.yc.bran.snack.bean.Address;
import com.yc.bran.snack.bean.GoodsTypeSales;
import com.yc.bran.snack.bean.OrderInfo;
import com.yc.bran.snack.bean.OrderItemInfo;
import com.yc.bran.snack.dto.OrderInfoDTO;

public interface IOrderInfoService {

	void createOrder(OrderInfo orderInfo, List<OrderItemInfo> orderItem, Address address);  

	List<OrderInfoDTO> pendingOrders(Integer uid);  
	
	List<OrderInfoDTO> shippedOrders(Integer uid);  
	
	List<OrderInfo> selectAllOrder();
	
	List<OrderItemInfo> selectAllShipped();
	
	int shipments(Integer gid);
	
	List<GoodsTypeSales> count();
	
	List<Map<String, Object>> selectMonthlyData(); 
}
